#pragma once

class T_Ref{
protected:
	T_Ref():m_RefCount(1){}
	virtual ~T_Ref(){};
private:
	int m_RefCount;
public:
	int retain();
	int release();
	void autorelease();
	int getReferenceCount(){
		return m_RefCount;
	}
};